﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class TMSShipppingorderInfoDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class TMSShipppingorderRequestDto
    {

        /// <summary>
        /// 描述 : 基地ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_id")]
        public string factory_id { get; set; }
        /// <summary>
        /// 描述 : 运单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ccode")]
        public string ccode { get; set; }
        /// <summary>
        /// 描述 : 开始日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ddate1")]
        public string ddate1 { get; set; }

        /// <summary>
        /// 描述 : 结束日期
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ddate2")]
        public string ddate2 { get; set; }

        /// <summary>
        /// 描述 : 车牌号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carno")]
        public string carno { get; set; }

        /// <summary>
        /// 描述 : 销售订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_id")]
        public string sales_order_id { get; set; }

        /// <summary>
        /// 描述 : 销售订单行ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_line_id")]
        public string sales_order_line_id { get; set; }


    }


    /// <summary>
    /// 返回JSON
    /// </summary>
    public class TMSShipppingorderResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<TMSShipppingorderResponseData> data { get; set; }

    }
    public class TMSShipppingorderResponseData
    {
        /// <summary>
        /// 描述 :  所属基地
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }

        /// <summary>
        /// 描述 :  所属基地
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_id")]
        public string factory_id { get; set; }

        /// <summary>
        /// 描述 :  所属基地
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_name")]
        public string factory_name { get; set; }

        /// <summary>
        /// 描述 : 运单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ccode")]
        public string ccode { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "creation_date")]
        public DateTime? creation_date { get; set; }


        /// <summary>
        /// 描述 : 制单日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ddate")]
        public DateTime? ddate { get; set; }


        /// <summary>
        /// 描述 : 司机姓名 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "drivername")]
        public string drivername { get; set; }


        /// <summary>
        /// 描述 : 司机身份证 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "identityno")]
        public string identityno { get; set; }


        /// <summary>
        /// 描述 : 司机电话 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "telephone")]
        public string telephone { get; set; }

        /// <summary>
        /// 描述 : 车牌号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carno2")]
        public string carno2 { get; set; }
        /// <summary>
        /// 描述 : 承运商编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carriercode")]
        public string carriercode { get; set; }
        /// <summary>
        /// 描述 : 承运商名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carriername")]
        public string carriername { get; set; }
        /// <summary>
        /// 描述 : 派车单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carrier_dispatch_no")]
        public string carrier_dispatch_no { get; set; }
        /// <summary>
        /// 描述 : 销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_no")]
        public string sales_order_no { get; set; }

        /// <summary>
        /// 描述 : 销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_id")]
        public string sales_order_id { get; set; }

        /// <summary>
        /// 描述 : 客户编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_code")]
        public string customer_code { get; set; }

        /// <summary>
        /// 描述 : 客户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_name")]
        public string customer_name { get; set; }

        /// <summary>
        /// 描述 : 销售订单行ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_line_id")]
        public string sales_order_line_id { get; set; }

        /// <summary>
        /// 描述 : 销售订单行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_line_no")]
        public string sales_order_line_no { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }

        /// <summary>
        /// 描述 : 单位 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_unit")]
        public string material_unit { get; set; }


        /// <summary>
        /// 描述 : 订单数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double? material_amount { get; set; }


        /// <summary>
        /// 描述 : 发货数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shipment_amount")]
        public double? shipment_amount { get; set; }


        /// <summary>
        /// 描述 : 发货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "start_address")]
        public string start_address { get; set; }

        /// <summary>
        /// 描述 : 收货地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "target_address")]
        public string target_address { get; set; }

        /// <summary>
        /// 描述 : 收货人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "receipt_man")]
        public string receipt_man { get; set; }


        /// <summary>
        /// 描述 : 收货电话 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "receipt_tel")]
        public string receipt_tel { get; set; }


        /// <summary>
        /// 描述 : 签收单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "receipt_no")]
        public string receipt_no { get; set; }

        /// <summary>
        /// 描述 : 运单编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shippingorderno")]
        public string shippingorderno { get; set; }

        /// <summary>
        /// 描述 : 合同号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_contract_no")]
        public string sales_contract_no { get; set; }

        /// <summary>
        /// 描述 : 配送方式 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "trans_type")]
        public string trans_type { get; set; }

        /// <summary>
        /// 描述 : 关联交易 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "is_inner_order")]
        public string is_inner_order { get; set; }

        /// <summary>
        /// 描述 : 客户备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_remarks")]
        public string customer_remarks { get; set; }
        /// <summary>
        /// 描述 : 客户备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "planid")]
        public string planid { get; set; }

    }

}
